import scrapy


class MiddleSpider(scrapy.Spider):
    name = "middle"
    allowed_domains = ["httpbin.org"]
    start_urls = ["http://httpbin.org/ip"]

    def start_requests(self):
        for num in range(10):
            yield scrapy.Request(url="http://httpbin.org/ip", callback=self.parse, dont_filter=True)

    def parse(self, response, **kwargs):
        print(response.text)
